<html>
<head>
<link href="/static/js/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="/static/js/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container-fluid">
	<div class="page-header" style="margin: 20px 0 20px;">
	    <span style="margin:0 0 20px 10px;">当前位置：管理员列表 </span>
	</div>
	     <table  class="table table-hover table-condensed">
	     	<thead>
	       <tr>
	         <th width="18%">id</th>
	         <th width="18%">用户名</th>
			 <th width="18%">手机号</th>
	         <th width="18%">姓名</th>
			 <th width="18%">角色</th>
	         <th>操作</th>
	       </tr>
	       </thead>
	       <tbody>
	      	{foreach $adminList as $item}
	        <tr>
	        <td height="30" >{$item.adminid}</td>
	        <td height="30" >{$item.account}</td>
			<td height="30" >{$item.phone}</td>
	        <td height="30" >{$item.name}</td>
			<td height="30" >{$item.role_name}</td>
	        <td>
	         <!--a href="?r=adAdmin/addpage&adminid={$item.adminid}">编辑资料</a-->
	         <a href="?g=menu&r=adAdmin/rolepage&adminid={$item.adminid}">编辑角色</a>
	         <!--a href="?r=adAdmin/deladmin&adminid={$item.adminid}" onclick="deladmin({$item.adminid})">删除</a-->
	        </td>
	     	</tr>
	    	{/foreach}
	     </tbody>
	     </table>
</div>
</body>
</html>
<script type="text/javascript">

function deladmin(uid){
   return  window.confirm("确认删除吗?");
}

</script>